<?php include COMMON_PATH.'/index/header.html' ?>
<!--预告-->

<div class="home-bot-wrap main-content cl-live-wrap clearfix">
    <div class="left-box">
        <!--预告-->
        <h1><span>精彩预告</span></h1>
        <hr>
        <ul class="live-list-wrap advance-list-wrap clearfix">
            <?php foreach($prior['lists'] as $v):?>
            <li class="fl">
                <div class="pic-wrap">
                    <img src="<?=$v['avatar']?>" onerror = "iService.imgNoFind(this)">
                    <p class="bot-description">
                        <span class="fl"><?=$v['date']?></span>
                        <span class="fr"><?=$v['start_time']?>-<?=$v['end_time']?></span>
                    </p>
                    <?php if($v['booked'] == 1):?>
                    <span class="btn-cancel" data-llid="<?=$v['llid']?>" data-status="<?=$v['booked']?>"></span>
                    <?php else:?>
                    <span class="btn-sure" data-llid="<?=$v['llid']?>" data-status="<?=$v['booked']?>"></span>
                    <?php endif;?>
                </div>
                <div class="font-wrap">
                    <p><?=$v['name']?></p>
                    <p>
                        讲师：<?=$v['nickname']?>
                        <a href="javascript:void(0);" class="fr user-num"><i class="am-icon-user"></i>&nbsp;<b class="focus-num"><?=$v['enrol']?></b></a>
                    </p>
                </div>
            </li>
            <?php endforeach;?>
        </ul>
        <div data-page-total="<?=$prior['count']?>" data-page-per="<?=PAGE_NUMBER?>"  id="live-page-wrap"></div>
    </div>
</div>
<?php include COMMON_PATH.'/index/footer.html' ?>
<script type="text/javascript" src="/index/js/swiper/swiper.min.js"></script>
<script>
    navActive(1);
</script>
</html>